
package com.kanjian.music.fragment;

import com.kanjian.music.R;

import android.content.Intent;
import android.support.v4.app.Fragment;

public class BaseFragment extends Fragment {

    @Override
    public void startActivity(Intent intent) {
        super.startActivity(intent);
        getActivity().overridePendingTransition(R.anim.anim_activity_left_slide,
                R.anim.anim_activity_sink);// R.anim.anim_activity_right_slide);
    }

    @Override
    public void startActivityForResult(Intent intent, int requestCode) {
        super.startActivityForResult(intent, requestCode);
        getActivity().overridePendingTransition(R.anim.anim_activity_left_slide,
                R.anim.anim_activity_sink);// R.anim.anim_activity_right_slide);
    }

}
